package com.tzpay.tzpay.ui.fragment;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v4.widget.SwipeRefreshLayout;
import android.support.v7.widget.RecyclerView;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.pnikosis.materialishprogress.ProgressWheel;
import com.tzpay.tzpay.R;
import com.tzpay.tzpay.ui.BaseFragment;

import butterknife.ButterKnife;
import butterknife.Bind;

/**
 * Created by yamlee on 15/8/26.
 */
public class BaseListFragment extends BaseFragment {

    @Bind(R.id.rv_base_list_fragment)
    RecyclerView rvBaseListFragment;
    @Bind(R.id.srl_base_list_fragment)
    SwipeRefreshLayout srlBaseListFragment;
    @Bind(R.id.progress_wheel)
    ProgressWheel pvLoadmore;

    public static BaseListFragment instance() {
        BaseListFragment fragment = new BaseListFragment();
        return fragment;
    }

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_base_list, null);
        ButterKnife.bind(this, view);
        return view;
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
    }

}
